package com.kaifamiao.N0719;

public class Node {
    public static void main(String[] args) {
        int[] nums ={5,3,6,7,3,2,6,7,5,7,5,9} ;
        int x = nums [0];
        for(int i = 0;i < nums.length;i++) {
            if(nums[i] > x){
                x = nums [i];
            } else{
                    x = nums [i];
            } System.out.println("最小值="+x);
        }
    }
}



